/***************************************************************
 * Name:      EventRelayTestFrame.h
 * Purpose:   Code for SketchUp Ruby Extension EventRelay
 * Author:    pecan Heber
 * Created:   2008/10/21
 * Copyright: pecan Heber
 * License:   GPL
 **************************************************************/
/*
	This file is part of Eventrelay, a Ruby extension for SketchUp
	Copyright (C) 2008,2009 Pecan Heber

	This program is free software; you can redistribute it and/or
	modify it under the terms of the GNU General Public License
	as published by the Free Software Foundation; either version 2
	of the License, or (at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program; if not, write to the Free Software
	Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*/

#ifndef EventRelayTestMAIN_H
#define EventRelayTestMAIN_H

#ifndef WX_PRECOMP
    #include <wx/wx.h>
#endif

#include <wx/app.h>

//#include <iostream>

class Debugging;

// ----------------------------------------------------------------------------
class EventRelayTestApp : public wxApp
// ----------------------------------------------------------------------------
{
    public:
        virtual bool OnInit();
};

// ----------------------------------------------------------------------------
class EventRelayTestFrame: public wxFrame
// ----------------------------------------------------------------------------
{
    // Testing driver for EventRelay Dll

    public:
        EventRelayTestFrame(wxFrame *frame, const wxString& title);
        ~EventRelayTestFrame();
    private:
        enum
        {
            idMenuQuit = 1000,
            idMenuAbout,
            idMenuTest1,
            idMenuTest2,
            idMenuTest3,
            idMenuTest4
        };
        void OnClose(wxCloseEvent& event);
        void OnQuit(wxCommandEvent& event);
        void OnAbout(wxCommandEvent& event);
        void OnTest(wxCommandEvent& event);

        Debugging* m_pLogging;

        DECLARE_EVENT_TABLE()
};


#endif // EventRelayTestMAIN_H
